package db.commodity;

import java.util.List;

import dbservice.commodity.CommodityDBService;
import po.CommodityPo;
import po.Po;

public class CommodityDBStub implements CommodityDBService{
	
	public CommodityPo get(CommodityPo commodity){
		CommodityPo po=new CommodityPo();
		po.successed();
		return po;
	}
	
	/*public CommodityPo[] getAll(){
		CommodityPo po1=new CommodityPo();
		po1.successed();
		CommodityPo po2=new CommodityPo();
		po2.successed();
		return new CommodityPo[]{po1,po2};
	}*/
	
	public Po add(CommodityPo commodity){
		CommodityPo po=new CommodityPo();
		po.successed();
		return po;
	}

	public Po delete(CommodityPo commodity){
		CommodityPo po=new CommodityPo();
		po.successed();
		return po;
	}

	public Po update(CommodityPo commodity){
		CommodityPo po=new CommodityPo();
		po.successed();
		return po;
	}
	
	

	@Override
	public List<CommodityPo> getAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<CommodityPo> find(CommodityPo commodity) {
		// TODO Auto-generated method stub
		return null;
	}
}
